---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--[[

    hook 进按钮 类里面，把函数挂在 inst 上面

]]--
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

AddGlobalClassPostConstruct("widgets/button", "Button", function(self)
    
    self.inst.ButtonRoot = self
end)